﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RaoVat.aspx.cs" Inherits="RaoVat" %>
<asp:Content ID="raovat1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="main-content">
        <table>
                <tr>
                    <th colspan="2">ĐĂNG RAO VẶT</th>

                </tr>
                <tr>
                    <td colspan="2"><asp:Label ID="lblError" Text="" runat="server" /></td>
                </tr>

                <tr>
                    <td><asp:Label ID="lblTieuDe" runat="server"> <b>Tiêu đề :</b> </asp:Label></td>
                    <td><asp:TextBox ID="txtTieuDe" runat="server" /></td>
                </tr>
                <tr>
                    <td><asp:Label ID="lblLoaiRaoVat" runat="server"><b>Loại rao vặt :</b></asp:Label></td>
                    <td>
                        <asp:RadioButtonList ID="cbLoai" runat="server" onselectedindexchanged="cbLoai_SelectedIndexChanged" RepeatLayout="Table" RepeatDirection="Horizontal">
                            <asp:ListItem Selected="True" Value="1" >Khẩn cấp</asp:ListItem><asp:ListItem  Value="2" >Bình thường</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                </tr>
                 <tr>
                    <td><asp:Label ID="Label1" runat="server"><b>Shop  :</b></asp:Label></td>
                    <td>
                        <asp:DropDownList runat="server" ID="field" DataValueField='<%#Eval("mashop") %>' DataTextField='<%#Eval("tenshop") %>' OnSelectedIndexChanged="Selected" />
                    </td>
                </tr>
                <tr>
                    <td><asp:Label ID="lblNoiDung" runat="server"><b>Nội dung :</b></asp:Label></td>
                    <td><asp:textbox ID="txtGreeting" runat="server" TextMode="MultiLine" AutoPostBack="True" ></asp:textbox></td>
                </tr>
                <tr>
                    <td><asp:Button ID ="btnRaoVat" Text="Chấp Nhận " OnClick="DangRaoVat" runat="server"/> </td>
                </tr>
            
        </table>            
    </div>
</asp:Content>

